<template>
  <h2>首页</h2>
  <p>{{ name }}</p>
</template>

<script>
import { mapState } from "vuex";
export default {
  name: "Home",
  computed: {
    ...mapState("home", ["name"]),
  },
};
</script>

<style>
</style>